Skip to content

Feature/split off client#2

Merged
Zalfsten merged 9 commits into
mainfrom
feature/split_off_client
Feb 2, 2026
Merged

Feature/split off client#2
Zalfsten merged 9 commits into
mainfrom
feature/split_off_client

Conversation

@Zalfsten
Copy link
Copy Markdown
Contributor

@Zalfsten Zalfsten commented Feb 2, 2026

No description provided.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @Zalfsten, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request implements a significant architectural refactoring by decoupling the sql_to_arc service from the core middleware API, its client, and shared libraries. The middleware API components are now treated as external dependencies, allowing sql_to_arc to operate as a standalone client connecting to a remote API endpoint. This change simplifies the local development environment for sql_to_arc by removing the need to run the entire middleware stack locally, while ensuring secure communication with the external API via client certificates.

Highlights

  • Project Decoupling: The core middleware API, its client, and shared libraries have been split into separate, externally referenced components. This repository now primarily focuses on the sql_to_arc service.
  • External API Integration: The sql_to_arc service is reconfigured to connect to an external middleware API (https://middleware.fairagro.net) using client certificates for authentication, rather than running a local API instance.
  • Development Environment Simplification: Docker Compose and development scripts (dev_environment/compose.yaml, dev_environment/start.sh) have been significantly streamlined, removing all services related to the middleware API (RabbitMQ, Redis, Celery worker, FastAPI app) and focusing solely on the sql_to_arc service and its local PostgreSQL database.
  • Dependency Management Update: middleware/sql_to_arc/pyproject.toml now references api_client and shared as Git dependencies, pointing to the new external repository structure.
  • Documentation and Build Artifact Cleanup: All documentation, Dockerfiles, Helm charts, and test files pertaining to the now-external middleware API components have been removed, streamlining the repository content.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Ignored Files
  • Ignored by pattern: .github/workflows/** (3)
    • .github/workflows/docker-build.yml
    • .github/workflows/docker-release.yml
    • .github/workflows/helm-release.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs a major architectural refactoring by extracting the API, API client, and shared components from this repository into a separate repository. The remaining code focuses solely on the SQL-to-ARC conversion functionality.

Changes:

  • Removes the middleware API, API client, and shared packages from the workspace
  • Converts sql_to_arc to depend on external Git repository for api_client and shared packages
  • Removes all Helm charts, Docker configurations for API, and related documentation
  • Simplifies the development environment to focus only on sql_to_arc
  • Removes extensive test suites for the removed components

Reviewed changes

Copilot reviewed 107 out of 110 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pyproject.toml Removes workspace members and dependencies for api, api_client, shared, and tools packages
middleware/sql_to_arc/pyproject.toml Changes dependencies to reference external Git repository instead of workspace packages
docker/Dockerfile.sql_to_arc Updates build process for standalone sql_to_arc, adds git dependency
docker/Dockerfile.api Complete removal of API Docker configuration
dev_environment/* Simplifies to external API setup, removes local API infrastructure
.github/workflows/* Updates CI to build only sql_to_arc, removes API and Helm chart workflows
Multiple test/code files Removes all API, shared, and api_client source code and tests
Documentation files Removes middleware API and Helm chart documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread middleware/sql_to_arc/pyproject.toml Outdated
Comment thread middleware/sql_to_arc/pyproject.toml Outdated
Comment thread docker/Dockerfile.sql_to_arc
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the repository to split off the sql_to_arc client from the larger middleware monorepo. This involves removing the middleware-api, api-client, shared, and other related components, and updating the configuration and build processes to treat them as external dependencies. The changes are extensive but seem to be consistent with the goal of creating a standalone client. I've identified a few areas for improvement, mainly concerning a potentially breaking git dependency in pyproject.toml and some confusion in the devcontainer configuration.

Comment thread middleware/sql_to_arc/pyproject.toml Outdated
Comment thread .devcontainer/devcontainer.json Outdated
Comment thread docker/Dockerfile.sql_to_arc Outdated
@Zalfsten Zalfsten merged commit 0e9d8cd into main Feb 2, 2026
9 checks passed
@Zalfsten Zalfsten deleted the feature/split_off_client branch February 2, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants